package com.baomidou.springboot.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.springboot.common.SortEnum;
import com.baomidou.springboot.entity.About;

import java.util.List;

/**
 * <p>
 * 关于我们 服务类
 * </p>
 *
 * @author QQQ
 * @since 2018-06-19
 */
public interface AboutService {

    void save(About about);

    void delete(String id);

    About edit(String id);

    void update(About about);

    About view(String id);

    Page<About> list(Page<About> page, String search);

    void deleteBatch(List<String> ids);

    List<About> findBySort(SortEnum sortEnum);

    About findOneBySort(SortEnum sortEnum);

    About findById(String id);
}
